<%--
  Created by IntelliJ IDEA.
  User: WT-SUN
  Date: 2017/4/12
  Time: 11:40
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="utf-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<!doctype html>
<html lang="zh">
<head>
    <title>编辑监测点</title>
    <%@include file="/common/header.jspf" %>
    <script type="text/javascript" src="${ctx}/resources/js/occupationalHealth/monPoint/edit.js"></script>
</head>
<body>
<div class="form-wrap">
    <form id="pointEditForm" method="post">
        <input type="hidden" id="monid" name="id" value="${mon.id}"/>
        <table cellspacing="0" cellpadding="0" class="watch-table" style="width: 600px">
            <tr>
                <td class="watch-td">监测点名称<span>*</span></td>
                <td colspan="8" class="watch-tdA">
                    <input class="easyui-textbox" type="text" style="width: 480px" value="${mon.monitorPoint==null?"":mon.monitorPoint}" name="monitorPoint" data-options="required:true">
                </td>
            </tr>
            <tr>
                <td class="watch-td">监测点编码<span>*</span></td>
                <td colspan="8" class="watch-tdA">
                    <input class="easyui-textbox" type="text" style="width: 480px" name="code" value="${mon.code==null?"":mon.code}" data-options="required:true">
                </td>
            </tr>
            <tr>
                <td class="watch-td">监测项目<span>*</span></td>
                <td colspan="8" class="watch-tdA">
                    <input class="easyui-textbox" type="text" id="factorName" editable="false"  required="required" style="width: 480px;" autocomplete="off">
                    <input type="hidden" id="factorId" name="factorId" />
                </td>
            </tr>
            <tr>
                <td class="watch-td">单位名称<span>*</span></td>
                <td colspan="8" class="watch-tdA">
                    <input type="text" style="width: 480px" name="companyId" id="companyName" value="${mon.companyId==null?"":mon.companyId}" data-options="required:true">
                </td>
            </tr>
            <tr>
                <td class="watch-td">备注</td>
                <td colspan="8" class="watch-tdA">
                    <input class="easyui-textbox" type="text" style="height: 100px;width: 480px"  value="${mon.remarks==null?"":mon.remarks}"  name="remarks" data-options="multiline:true">
                </td>
            </tr>
        </table>

    </form>
    <div class="form-button">
        <a href="javascript:void(0)" onclick="submitForm()" class="easyui-linkbutton"
           data-options="iconCls:'fa fa-save fa-lg'">保存</a>
    </div>
</div>
</body>
</html>
